<template>
  <div @click="onClickTest">

  </div>
</template>

<script>
  export default {
    props: ['text'],
    methods: {
      onClickTest () {
        console.log('===>onClickTest')
        this.$emit('goodLike', 'ok')
      }
    }
  }
</script>

<style>
  div {
    width: 100px;
    height: 100px;
    background: #19BFD9;
  }
</style>
